<?php
include("connect.php");
?>

<?php
$css = '<link rel="stylesheet" type="text/css" media="all" href="asset/css/class_faq.css">';
$title = 'FAQ';
$page_name = "faq";
?>

<?php
$sql = "select user_category from m_user where user_id=".$_SESSION['userid'];
$retval = mysql_query( $sql, $con );
while($row = mysql_fetch_array($retval))
	{
		$user_category = $row[0];
	}
if(isset($_SESSION["userid"]))
	{
		if($user_category ==9)
		{
			include("header_loggedinadmin.php");
		}else
		{
			include("header_loggedin.php");
		}
	}
else
{
	include("header.php");
}
?>
<script type="text/javascript" src="asset/js/jquery-1.4.2.min.js"></script>
<div id="blue_bg">
	<div id="main">
        <div class="wrapper">
        	<div id="content">
            	<div id="white_box">
                	<h3 class="flag_long">FREQUENCY ASKED QUESTIONS</h3>
                    <p class="question">
                    	How do I find the book that I'm looking for? 
                    </p>
                    <p class="answer">
                    	Find the product you want to purchase by either searching for it or using the categories to browse through.
                    </p>
                    <p class="question">
                    	How do I contact the seller?
                    </p>
                    <p class="answer">
                    	We provide comment feature where the buyer and seller can send message to each other or you can contact the seller directly by sending email or texting to his/her phone number or even via social media depend on what contact details the seller provided.
                    </p>
                    <p class="question">
                    	How do I sell my book via this website?
                    </p>
                    <p class="answer">
                    	You must login first with your JCU email and password then choose list book, fill out the book details including the photo of your book and submit it.
                    </p>
                    <p class="question">
                    	What currency are your prices in?
                    </p>
                    <p class="answer">
                    	All prices listed on our website are currently in SGD.
                    </p>
                    <p class="question">
                    	Can other person besides JCU student buy or sell books?
                    </p>
                    <p class="answer">
                    	This website is more devoted for JCU students, so only the JCU students can sell books. However, if there are non-JCU  persons want to buy the books, they can contact directly to the seller via the contact details that the seller provided.
                    </p>
                    <p class="question">
                    	Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium? 
                    </p>
                    <p class="answer">
                    	totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. 
                    </p>
           		</div>
            </div>
        </div>
    </div>
</div>

<?php include("footer.php"); ?>